from PIL import Image, ImageTk
class TkinterImageUtils:

    @classmethod
    def load_tk_img(cls,img_path, rotate_agree):
        img = Image.open(img_path)
        img = img.rotate(rotate_agree)
        tank_img = ImageTk.PhotoImage(img)
        return tank_img